package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户聊天记录关系表
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_user_chat")
@ApiModel(value = "XhUserChat对象", description = "用户聊天记录关系表")
public class XhUserChat implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("聊天记录表主键")
    private Integer chatId;

    @ApiModelProperty("客服工号")
    private String serviceId;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("标记（0：否，1：是）")
    private Integer flag;

    @ApiModelProperty("状态（0：未违规，1：违规）")
    private Integer status;

    @ApiModelProperty("是否启用:0.否1.是（默认）")
    private Integer isEnabled;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date modifyTime;

}
